<template>
	<div class="notices">
    		<p>带描述信息</p>
		<Button @click="warning(false)">警告</Button>
	</div>
</template>

<script>
    export default {
        methods: {
            warning (nodesc) {
                this.$Notice.warning({
                    title: '提示',
                    desc: nodesc ? '' : '信息错误'
                });
            }
        }
    }
</script>
	
<style>
</style>
